package com.lwlk.zdk.service.CarService;

import com.lwlk.zdk.model.pw.pwDriver;
import com.lwlk.zdk.model.pw.pwPlatformAttention;
import com.lwlk.zdk.model.pw.pwVehicle;
import com.lwlk.zdk.model.sys.sysUser;
import io.swagger.models.auth.In;

import java.util.List;
import java.util.Map;

public interface CarService {
    int add(pwVehicle pwVehicle);

    int update(pwVehicle pwVehicle);

    int delete(Integer vehicleId);

    List<Map<String,Object>> selectByPlatformId(Integer platformId);

    List<Map<String, Object>> selectDimByPlatformId(Integer platformId, String vehicleNumber, String carType, String enterprise, String networkState, String vehicleLicenseColor);

    List<Map<String, Object>> selectDetail(Integer vehicleId);

    int selectRegularBus();

    int selectCharteredBus();

    int selectDangerousGoods();

    int selectJoinPlatform(String platformId);

    int selectEnterprise();

    int selectRegularEnterprise(String areaCode);

    int selectCharteredEnterprise(String areaCode);

    int selectDangerousGoodsEnterprise(String areaCode);

    List<sysUser> selectPlatformMessage(Integer vehicleId);

    List<pwVehicle> selectVehicleMessage(String vehicleNumber);

    pwDriver selectDriverMessage(String vehicleNumber);

    List<Map<String, Object>> selectEnterpriseMessage(String vehicleNumber);

    List<pwPlatformAttention> selectPlatformAttention(Integer platformId);

    List<Map<String, Object>> selectVehicleIndustry(String industry);

    List<Map<String, Object>> selectVehicleIndustryAndIndustry(String isOnline, String industry);

    int platformAttentionAdd(Integer platformId, String vehicleNumber, Integer vId,String sim);

    int platformAttentionDelete(Integer id);

    List selectPlatformIds(Integer platformId);

    List<Map<String, Object>> selectPlatformVehicleAll(Integer platformId);

    List<Map<String, Object>> selectVehicleNumber();

    String selectVehicleName(int vId);

    int selectManyVehicleNumber(String vehicleNumber);

    int selectByVehicleId(Integer vId);
}
